<script language="javascript">

	function viewProduct(ncm,sim){
	 document.getElementById("loginForm").ncm.value = ncm;
	 document.getElementById("loginForm").sim.value = sim;	 
 	 document.getElementById("loginForm").submit();	 
	}
	
	
	
</script>